package com.nervenets.web.controller.handler.user.user;

import com.nervenets.web.annotation.NeedValidation;
import com.nervenets.web.controller.handler.ApiParams;
import com.nervenets.web.validation.Type;

public class UserLoginParams extends ApiParams {
    @NeedValidation(type = Type.MOBILE, description = "用户手机号码")
    private String mobile;
    @NeedValidation(type = Type.NOTEMPTY, description = "密码")
    private String password;

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
